# help/examples:
#http://rachid.koucha.free.fr/tech_corner/cmake_manual.html#CMakeLists.txt_in_lib
#
# dmitry.konovalov@jcu.edu.au

cmake_minimum_required(VERSION 2.8)

PROJECT(tsv2012 Fortran)  #NOTE the word 'Fortran' is needed

SET(SRCS sys_setup_mod.f95 dbg_mod.f95 test_mod.f95 vec_mod.f95 vec_factory.f95 grid_mod.f95 func_factory.f95)

ADD_LIBRARY(tsv2012 SHARED ${SRCS})  # note ${}, rather than $()